package DB;

import Model.Session;
import Model.Student;
import Model.Teacher;

import java.util.ArrayList;

public interface SessionDBIF {



    //Insert Session
    public int insertSession(Session Session);

    //Find Session
    public Session findSession (int id);

    public Session findSessionByStudentIdAndDate(Student student, String date);

    public Session getSessionByTeacherAndDate(Teacher teacher, String date);

    //Find all Sessions
    public ArrayList<Session> getAllSessions(boolean retrieveAssociation);

    //Find all Sessions between two dates
    public ArrayList<Session> getAllSessionsBetweenDates(String startDate, String endDate, int teamId, boolean retrieveAssociation);

    //Find all Sessions with a teacher id
    public ArrayList<Session> getAllTeacherSessions(Teacher teacher, boolean reteiveAssociation);

    //Update
    public int updateSession(Session Session);

    //Delete Session
    public int deleteSession(int id);


}
